package com.yeyks.hotel.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class HotelSearchJipAppendNewHotelListParam {

    /**
     * 入住时间
     */
    @ApiModelProperty("入住时间")
    @NotNull(message = "入住时间不能为空")
    private Date checkIn;

    /**
     * 离店时间
     */
    @ApiModelProperty("离店时间")
    @NotNull(message = "离店时间不能为空")
    private Date checkOut;

    /**
     * 经度
     */
    @ApiModelProperty("经度(必填)")
    @NotNull(message = "经度必填")
    private Double positionX;

    /**
     * 维度
     */
    @ApiModelProperty("维度(必填)")
    @NotNull(message = "纬度必填")
    private Double positionY;

}
